package cn.sofwin.web.blog.servlet;

import cn.sofwin.web.blog.service.ArticleCommentService;
import cn.sofwin.web.blog.service.impl.ArticleCommentServiceImpl;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 文章评论Servlet
 * @author ZDF
 * @email laomake@hotmail.com
 * @version 1.0
 */
@WebServlet("/blog/comment")
public class CommentServlet extends HttpServlet {

    /** 文章评论服务接口 */
    private ArticleCommentService articleCommentService = ArticleCommentServiceImpl.getInstance();

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

    }

    @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

    }
}